<?php 
require_once "../add/TegGenerator.php";
require_once "../add/ClassList.php";

require_once "AddClasses.php";
require_once "functions.php";

require_once "../include/global.php";

 $conn = dbconn();	
	
		if(isset($_POST[gi]))
		{
			$garr=get_real_pr_gr(get_real_prline("$bdname"));
			$ev=$_POST[evolute];
			
			foreach($garr as $g)
			{
				if($g->id==$_POST[gi])echo FillGroup($g,$ev);
			}
		}
		
		mysql_close($conn);
		
		
		
		
	////////////////////////////////////////////////////////////////////////////////////
	function trigger(&$flag)
	{
		if($flag)$flag=0;
		else$flag=1;
	}
	
?>